home *** CD-ROM | disk | FTP | other *** search
- <?xml version ="1.0"?>
- <!--Generated by XML Authority. Conforms to XML Data subset for IE 5-->
-
- <!-- this is the CARD (Commerce Accelerated Relational Data) schema version 1.0 -->
- <!-- Copyright (C) 2000, infoShark, inc. -->
-
- <!-- The main goal of this schema is to provide a common means for
- describing a relational database's structure and data so that
- relational databases, non-relational data stores, and software
- applications could easily consume it. Documents adhering to
- this schema can provide all the necessary information to recreate
- relational databases and populate them with their data. This
- information includes such things as primary/foreign key
- relationships, indices, and native datatypes. A secondary
- goal of this XML schema is to provide a simple mechanism for
- specifying the price of individual data points (the data found
- in a given row and column). It is infoShark's vision that
- this schema would further facilitate the extraction,
- transformation, and loading of data across various
- Web-enabled products. -->
-
-
- <Schema name = "card.xdr"
- xmlns = "urn:schemas-microsoft-com:xml-data"
- xmlns:dt = "urn:schemas-microsoft-com:datatypes">
- <ElementType name = "card" content = "eltOnly" order = "seq">
- <AttributeType name = "name" dt:type = "string" required = "yes"/>
- <AttributeType name = "distributer" dt:type = "string" required = "yes"/>
- <AttributeType name = "currencyValue" dt:type = "number" required = "yes"/>
- <AttributeType name = "currencyCode" dt:type = "string" required = "yes"/>
- <AttributeType name = "description" dt:type = "string" required = "yes"/>
- <attribute type = "name"/>
- <attribute type = "distributer"/>
- <attribute type = "currencyValue"/>
- <attribute type = "currencyCode"/>
- <attribute type = "description"/>
- <element type = "dbStructures" minOccurs = "0" maxOccurs = "1"/>
- <element type = "existingData" minOccurs = "0" maxOccurs = "1"/>
- <element type = "alterData" minOccurs = "0" maxOccurs = "1"/>
- </ElementType>
-
- <ElementType name = "dbStructures" content = "eltOnly" order = "seq">
- <AttributeType name = "currencyValue" dt:type = "number"/>
- <AttributeType name = "currencyCode" dt:type = "string"/>
- <AttributeType name = "description" dt:type = "string"/>
- <attribute type = "currencyValue"/>
- <attribute type = "currencyCode"/>
- <attribute type = "description"/>
- <element type = "dbStructure" minOccurs = "1" maxOccurs = "*"/>
- </ElementType>
-
- <ElementType name = "dbStructure" content = "eltOnly" order = "seq">
- <AttributeType name = "name" dt:type = "string" required = "yes"/>
- <AttributeType name = "author" dt:type = "string"/>
- <AttributeType name = "dbType" dt:type = "string"/>
- <AttributeType name = "dbVersion" dt:type = "string"/>
- <AttributeType name = "extractDatetime" dt:type = "dateTime.tz" required = "yes"/>
- <AttributeType name = "currencyValue" dt:type = "number"/>
- <AttributeType name = "currencyCode" dt:type = "string"/>
- <AttributeType name = "description" dt:type = "string"/>
- <attribute type = "name"/>
- <attribute type = "author"/>
- <attribute type = "dbType"/>
- <attribute type = "dbVersion"/>
- <attribute type = "extractDatetime"/>
- <attribute type = "currencyValue"/>
- <attribute type = "currencyCode"/>
- <attribute type = "description"/>
- <element type = "dbSchemata"/>
- </ElementType>
-
- <ElementType name = "dbSchemata" content = "eltOnly" order = "seq">
- <element type = "dbSchema" minOccurs = "1" maxOccurs = "*"/>
- </ElementType>
-
- <ElementType name = "dbSchema" content = "eltOnly" order = "seq">
- <AttributeType name = "name" dt:type = "string" required = "yes"/>
- <AttributeType name = "author" dt:type = "string"/>
- <AttributeType name = "currencyValue" dt:type = "number"/>
- <AttributeType name = "currencyCode" dt:type = "string"/>
- <AttributeType name = "description" dt:type = "string"/>
- <AttributeType name = "structureRecreationFile" dt:type = "uri"/>
- <attribute type = "name"/>
- <attribute type = "author"/>
- <attribute type = "currencyValue"/>
- <attribute type = "currencyCode"/>
- <attribute type = "description"/>
- <attribute type = "structureRecreationFile"/>
- <element type = "tables"/>
- <element type = "indices"/>
- <element type = "sequences"/>
- </ElementType>
-
- <ElementType name = "tables" content = "eltOnly" order = "seq">
- <element type = "table" minOccurs = "0" maxOccurs = "*"/>
- </ElementType>
-
- <ElementType name = "table" content = "eltOnly" order = "seq">
- <AttributeType name = "name" dt:type = "string" required = "yes"/>
- <AttributeType name = "author" dt:type = "string"/>
- <AttributeType name = "currencyValue" dt:type = "number"/>
- <AttributeType name = "currencyCode" dt:type = "string"/>
- <AttributeType name = "description" dt:type = "string"/>
- <attribute type = "name"/>
- <attribute type = "author"/>
- <attribute type = "currencyValue"/>
- <attribute type = "currencyCode"/>
- <attribute type = "description"/>
- <element type = "columns"/>
- <element type = "keys"/>
- <element type = "checkConstraints"/>
- </ElementType>
-
- <ElementType name = "columns" content = "eltOnly" order = "seq">
- <element type = "column" minOccurs = "1" maxOccurs = "*"/>
- </ElementType>
-
- <!-- Here is a listing of where each of the datatypes originated
- oracle datatypes:
- bfile, blob, char, clob, date, decimal, float, integer, long, long-raw, long-varchar, mlslabel, nchar, nclob, nvarchar2, number, raw, raw-mlslabel, rowid, smallint, user-defined, varchar, varchar2
-
- sqlserver datatypes:
- binary, bit, char, datetime, decimal, float, image, int, money, numeric, real, smalldatetime, smallint, smallmoney, text, timestamp, tinyint, user-defined, varbinary, varchar
-
- access datatypes:
- autonumber, currency, date-time, hyperlink, lookup-wizard, memo, numbers, ole-object, text, yes-no
- -->
-
- <ElementType name = "column" content = "empty">
- <AttributeType name = "name" dt:type = "string" required = "yes"/>
- <AttributeType name = "linkName" dt:type = "id" required = "yes"/>
- <AttributeType name = "nativeType" dt:type = "enumeration" dt:values = "autonumber bfile binary bit blob char clob currency date datetime date-time decimal float hyperlink image int integer long long-raw long-varchar lookup-wizard memo mlslabel money nchar nclob number numbers numeric nvarchar2 ole-object raw raw-mlslabel real rowid smalldatetime smallint smallmoney text timestamp tinyint user-defined varbinary varchar varchar2 yes-no" required = "yes"/>
- <AttributeType name = "precision" dt:type = "string"/>
- <AttributeType name = "scale" dt:type = "string"/>
- <AttributeType name = "length" dt:type = "string"/>
- <AttributeType name = "defaultValue" dt:type = "string"/>
- <AttributeType name = "nullable" dt:type = "enumeration" dt:values = "yes no" required = "yes"/>
- <AttributeType name = "commonName" dt:type = "string"/>
- <AttributeType name = "currencyValue" dt:type = "number"/>
- <AttributeType name = "currencyCode" dt:type = "string"/>
- <AttributeType name = "description" dt:type = "string"/>
- <attribute type = "name"/>
- <attribute type = "linkName"/>
- <attribute type = "nativeType"/>
- <attribute type = "precision"/>
- <attribute type = "scale"/>
- <attribute type = "length"/>
- <attribute type = "defaultValue"/>
- <attribute type = "nullable"/>
- <attribute type = "commonName"/>
- <attribute type = "currencyValue"/>
- <attribute type = "currencyCode"/>
- <attribute type = "description"/>
- </ElementType>
-
- <ElementType name = "keys" content = "eltOnly" order = "seq">
- <element type = "primaryKey" minOccurs = "0" maxOccurs = "1"/>
- <element type = "foreignKey" minOccurs = "0" maxOccurs = "*"/>
- <element type = "uniqueKey" minOccurs = "0" maxOccurs = "*"/>
- </ElementType>
-
- <ElementType name = "primaryKey" content = "eltOnly" order = "seq">
- <AttributeType name = "name" dt:type = "string" required = "yes"/>
- <AttributeType name = "linkName" dt:type = "id" required = "yes"/>
- <AttributeType name = "enabled" dt:type = "enumeration" dt:values = "yes no" required = "yes"/>
- <attribute type = "name"/>
- <attribute type = "linkName"/>
- <attribute type = "enabled"/>
- <element type = "columnLink" minOccurs = "1" maxOccurs = "*"/>
- </ElementType>
-
- <ElementType name = "columnLink" content = "empty">
- <AttributeType name = "columnLinkName" dt:type = "idref" required = "yes"/>
- <attribute type = "columnLinkName"/>
- </ElementType>
-
- <ElementType name = "foreignKey" content = "eltOnly" order = "seq">
- <AttributeType name = "name" dt:type = "string" required = "yes"/>
- <AttributeType name = "keyLinkName" dt:type = "idref" required = "yes"/>
- <AttributeType name = "enabled" dt:type = "enumeration" dt:values = "yes no" required = "yes"/>
- <AttributeType name = "cascadeDelete" dt:type = "enumeration" dt:values = "yes no" required = "yes"/>
- <attribute type = "name"/>
- <attribute type = "keyLinkName"/>
- <attribute type = "enabled"/>
- <attribute type = "cascadeDelete"/>
- <element type = "columnLink" minOccurs = "1" maxOccurs = "*"/>
- </ElementType>
-
- <ElementType name = "uniqueKey" content = "eltOnly" order = "seq">
- <AttributeType name = "name" dt:type = "string" required = "yes"/>
- <AttributeType name = "linkName" dt:type = "id" required = "yes"/>
- <AttributeType name = "enabled" dt:type = "enumeration" dt:values = "yes no" required = "yes"/>
- <attribute type = "name"/>
- <attribute type = "linkName"/>
- <attribute type = "enabled"/>
- <element type = "columnLink" minOccurs = "1" maxOccurs = "*"/>
- </ElementType>
-
- <ElementType name = "checkConstraints" content = "eltOnly" order = "seq">
- <element type = "checkConstraint" minOccurs = "0" maxOccurs = "*"/>
- </ElementType>
-
- <ElementType name = "checkConstraint" content = "eltOnly" order = "seq">
- <AttributeType name = "name" dt:type = "string" required = "yes"/>
- <AttributeType name = "enabled" dt:type = "enumeration" dt:values = "yes no" required = "yes"/>
- <attribute type = "name"/>
- <attribute type = "enabled"/>
- <element type = "checkConstraintValue"/>
- <element type = "columnLink" minOccurs = "1" maxOccurs = "*"/>
- </ElementType>
-
- <ElementType name = "checkConstraintValue" content = "textOnly">
- <AttributeType name = "language" dt:type = "string"/>
- <attribute type = "language"/>
- </ElementType>
-
- <ElementType name = "indices" content = "eltOnly" order = "seq">
- <element type = "index" minOccurs = "0" maxOccurs = "*"/>
- </ElementType>
-
- <ElementType name = "index" content = "eltOnly" order = "seq">
- <AttributeType name = "name" dt:type = "string" required = "yes"/>
- <AttributeType name = "unique" dt:type = "enumeration" dt:values = "yes no" required = "yes"/>
- <AttributeType name = "sorting" dt:type = "enumeration" dt:values = "yes no" required = "yes"/>
- <AttributeType name = "order" dt:type = "enumeration" dt:values = "ascending descending" required = "yes"/>
- <attribute type = "name"/>
- <attribute type = "unique"/>
- <attribute type = "sorting"/>
- <attribute type = "order"/>
- <element type = "columnLink" minOccurs = "1" maxOccurs = "*"/>
- </ElementType>
-
- <ElementType name = "sequences" content = "eltOnly" order = "seq">
- <element type = "sequence" minOccurs = "0" maxOccurs = "*"/>
- </ElementType>
-
- <ElementType name = "sequence" content = "textOnly">
- <AttributeType name = "name" dt:type = "string" required = "yes"/>
- <AttributeType name = "startingValue" dt:type = "string" required = "yes"/>
- <AttributeType name = "endingValue" dt:type = "string" required = "yes"/>
- <AttributeType name = "stepValue" dt:type = "string" required = "yes"/>
- <AttributeType name = "cycle" dt:type = "enumeration" dt:values = "yes no" required = "yes"/>
- <attribute type = "name"/>
- <attribute type = "startingValue"/>
- <attribute type = "endingValue"/>
- <attribute type = "stepValue"/>
- <attribute type = "cycle"/>
- </ElementType>
-
- <ElementType name = "existingData" content = "eltOnly" order = "seq">
- <AttributeType name = "currencyValue" dt:type = "number"/>
- <AttributeType name = "currencyCode" dt:type = "string"/>
- <AttributeType name = "description" dt:type = "string"/>
- <attribute type = "currencyValue"/>
- <attribute type = "currencyCode"/>
- <attribute type = "description"/>
- <element type = "rows" minOccurs = "1" maxOccurs = "*"/>
- </ElementType>
-
- <ElementType name = "rows" content = "eltOnly" order = "seq">
- <AttributeType name = "dbStructureName" dt:type = "string" required = "yes"/>
- <AttributeType name = "dbSchemaName" dt:type = "string" required = "yes"/>
- <AttributeType name = "tableName" dt:type = "string" required = "yes"/>
- <AttributeType name = "currencyValue" dt:type = "number"/>
- <AttributeType name = "currencyCode" dt:type = "string"/>
- <AttributeType name = "description" dt:type = "string"/>
- <attribute type = "dbStructureName"/>
- <attribute type = "dbSchemaName"/>
- <attribute type = "tableName"/>
- <attribute type = "currencyValue"/>
- <attribute type = "currencyCode"/>
- <attribute type = "description"/>
- <element type = "row" minOccurs = "0" maxOccurs = "*"/>
- </ElementType>
-
- <ElementType name = "row" content = "eltOnly" order = "seq">
- <AttributeType name = "uniqueID" dt:type = "id" required = "yes"/>
- <AttributeType name = "currencyValue" dt:type = "number"/>
- <AttributeType name = "currencyCode" dt:type = "string"/>
- <AttributeType name = "description" dt:type = "string"/>
- <attribute type = "uniqueID"/>
- <attribute type = "currencyValue"/>
- <attribute type = "currencyCode"/>
- <attribute type = "description"/>
- <element type = "columnValue" minOccurs = "1" maxOccurs = "*"/>
- </ElementType>
-
- <ElementType name = "columnValue" content = "textOnly">
- <AttributeType name = "columnName" dt:type = "string" required = "yes"/>
- <AttributeType name = "isNull" dt:type = "enumeration" dt:values = "yes no" required = "yes"/>
- <AttributeType name = "currencyValue" dt:type = "number"/>
- <AttributeType name = "currencyCode" dt:type = "string"/>
- <AttributeType name = "description" dt:type = "string"/>
- <attribute type = "columnName"/>
- <attribute type = "isNull"/>
- <attribute type = "currencyValue"/>
- <attribute type = "currencyCode"/>
- <attribute type = "description"/>
- </ElementType>
-
- <ElementType name = "alterData" content = "eltOnly" order = "seq">
- <AttributeType name = "currencyValue" dt:type = "number"/>
- <AttributeType name = "currencyCode" dt:type = "string"/>
- <AttributeType name = "description" dt:type = "string"/>
- <attribute type = "currencyValue"/>
- <attribute type = "currencyCode"/>
- <attribute type = "description"/>
- <element type = "data" minOccurs = "1" maxOccurs = "*"/>
- </ElementType>
-
- <ElementType name = "data" content = "eltOnly" order = "seq">
- <AttributeType name = "dbStructureName" dt:type = "string" required = "yes"/>
- <AttributeType name = "dbSchemaName" dt:type = "string" required = "yes"/>
- <AttributeType name = "tableName" dt:type = "string" required = "yes"/>
- <AttributeType name = "currencyValue" dt:type = "number"/>
- <AttributeType name = "currencyCode" dt:type = "string"/>
- <AttributeType name = "description" dt:type = "string"/>
- <attribute type = "dbStructureName"/>
- <attribute type = "dbSchemaName"/>
- <attribute type = "tableName"/>
- <attribute type = "currencyValue"/>
- <attribute type = "currencyCode"/>
- <attribute type = "description"/>
- <element type = "insertData" minOccurs = "0" maxOccurs = "*"/>
- <element type = "deleteData" minOccurs = "0" maxOccurs = "*"/>
- <element type = "updateData" minOccurs = "0" maxOccurs = "*"/>
- </ElementType>
-
- <ElementType name = "insertData" content = "eltOnly" order = "seq">
- <AttributeType name = "currencyValue" dt:type = "number"/>
- <AttributeType name = "currencyCode" dt:type = "string"/>
- <AttributeType name = "description" dt:type = "string"/>
- <attribute type = "currencyValue"/>
- <attribute type = "currencyCode"/>
- <attribute type = "description"/>
- <element type = "columnValue" minOccurs = "1" maxOccurs = "*"/>
- </ElementType>
-
- <ElementType name = "deleteData" content = "eltOnly" order = "seq">
- <AttributeType name = "currencyValue" dt:type = "number"/>
- <AttributeType name = "currencyCode" dt:type = "string"/>
- <AttributeType name = "description" dt:type = "string"/>
- <attribute type = "currencyValue"/>
- <attribute type = "currencyCode"/>
- <attribute type = "description"/>
- <element type = "columnValue" minOccurs = "0" maxOccurs = "*"/>
- </ElementType>
-
- <ElementType name = "updateData" content = "eltOnly" order = "seq">
- <AttributeType name = "currencyValue" dt:type = "number"/>
- <AttributeType name = "currencyCode" dt:type = "string"/>
- <AttributeType name = "description" dt:type = "string"/>
- <attribute type = "currencyValue"/>
- <attribute type = "currencyCode"/>
- <attribute type = "description"/>
- <element type = "columnValue" minOccurs = "1" maxOccurs = "*"/>
- <element type = "previousData" minOccurs = "0" maxOccurs = "1"/>
- </ElementType>
-
- <ElementType name = "previousData" content = "eltOnly" order = "seq">
- <AttributeType name = "currencyValue" dt:type = "number"/>
- <AttributeType name = "currencyCode" dt:type = "string"/>
- <AttributeType name = "description" dt:type = "string"/>
- <attribute type = "currencyValue"/>
- <attribute type = "currencyCode"/>
- <attribute type = "description"/>
- <element type = "columnValue" minOccurs = "1" maxOccurs = "*"/>
- </ElementType>
-
- </Schema>
-